import request from '@/utils/request.js'

//生成订单
export const getOrder = () => {
  return request.get('/member/order/pre')
}
//提交订单
export const genOrder = (data) => {
  return request.post('/member/order', data)
}
//获取支付订单详情
export const gotoPay = (id) => {
  return request.get(`/member/order/${id}`)
}
